package com.lykj.llw.box.ui.activity

import android.os.Bundle
import android.view.View
import com.gyf.immersionbar.BarHide
import com.gyf.immersionbar.ImmersionBar
import com.lykj.lib_base.base.BaseActivity
import com.lykj.lib_base.internal.extfun.clickWithTrigger
import com.lykj.llw.box.databinding.ActRecyclingDescBinding

/**
 * ================================================
 * 回收说明
 * ================================================
 *
 * @author gosha
 * @date 2023/10/23-13:58
 */
class RecyclingDescActivity : BaseActivity() {
    lateinit var binding: ActRecyclingDescBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        binding = ActRecyclingDescBinding.inflate(layoutInflater)
        setContentView(binding.root)

        initUI()
        initData()
        setListener()
    }

    override fun onResume() {
        super.onResume()

        ImmersionBar
            .with(this)
            .statusBarDarkFont(true) //状态栏字体是深色，不写默认为亮色
            .navigationBarDarkIcon(true)
            .hideBar(BarHide.FLAG_HIDE_NAVIGATION_BAR)
            .navigationBarEnable(false)
            .init()
    }

    override fun initUI() {
        binding.titleBar.tvTitle.text = "回收说明"
        binding.titleBar.tvRightOption.visibility = View.GONE
    }

    override fun initData() {
    }

    override fun setListener() {
        binding.titleBar.ivBack.clickWithTrigger {
            finish()
        }
    }

    override fun onDestroy() {
        super.onDestroy()
    }
}